package com.qf.smartplatform.service;

import com.qf.smartplatform.pojo.Menu;
import com.qf.smartplatform.pojo.Role;

import java.util.List;

/**
 * projectName:day12_27_Test
 * author:guoLei
 * time:2022/1/10 11:08
 * description:
 */
public interface RoleService {
    void addRole(Role role);

    int updateRole(Role role);

    int deleteRoleByIds(List<Long> roleId);

    List<Role> selectAllRole();
    Role selectById(Long roleId);
    List<Role>selectRolesByNameLike(String roleName);
}
